﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdateAdminPage.aspx.cs" Inherits="Delonix_Regia_Hotel_Management_System.UpdateAdminPage" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        .auto-style1 {
            width: 1270px;
            height: 702px;
        }
        .auto-style3 {
            height: 60px;
        }
        .auto-style4 {
            height: 52px;
        }
        .auto-style5 {
            height: 32px;
        }
        .auto-style6 {
            height: 280px;
        }
        .auto-style7 {
            width: 1270px;
        }
        .auto-style8 {
            width: 1270px;
            height: 56px;
        }
    </style>
</head>
<body style='background: #000'>

    <form id="form1" runat="server">
    <div>
    
        <table cellspacing="0" class="auto-style1" style="background-image:url(Images/TemplateForHome.png); background-size: cover;">
            <tr>
            <td class="auto-style3" colspan="9">
                <asp:ImageButton ID="btnLogo" runat="server" CausesValidation="False" ImageUrl="~/Images/Delonix Regia Logo.png" OnClick="btnLogo_Click" />
            </td>
            <td class="auto-style3">
                <asp:ImageButton ID="btnLogout" runat="server" CausesValidation="False" ImageUrl="~/Images/Logout.png" OnClick="btnLogout_Click" />
            </td>
        </tr>
        <tr>
            <td class="auto-style4">&nbsp;&nbsp;&nbsp;</td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnAdmin" runat="server" CausesValidation="False" ImageUrl="~/Images/Admin.png" OnClick="btnAdmin_Click" />
            </td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnCheckIn" runat="server" CausesValidation="False" ImageUrl="~/Images/Check-In.png" OnClick="btnCheckIn_Click" />
            </td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnCheckOut" runat="server" CausesValidation="False" ImageUrl="~/Images/Check-Out.png" OnClick="btnCheckOut_Click" style="height: 24px" />
            </td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnQuery" runat="server" CausesValidation="False" ImageUrl="~/Images/Query.png" OnClick="btnQuery_Click" />
            </td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnBooking" runat="server" CausesValidation="False" ImageUrl="~/Images/Booking.png" OnClick="btnBooking_Click" />
            </td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnRates" runat="server" CausesValidation="False" ImageUrl="~/Images/Rates.png" OnClick="btnRates_Click" />
            </td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnStaff" runat="server" CausesValidation="False" ImageUrl="~/Images/Staff.png" OnClick="btnStaff_Click" />
            </td>
            <td class="auto-style4">
                <asp:ImageButton ID="btnReport" runat="server" CausesValidation="False" ImageUrl="~/Images/Report.png" OnClick="btnReport_Click" />
            </td>
            <td class="auto-style4"></td>
        </tr>
        <tr>
            <td class="auto-style5" colspan="10">
                <img alt="" class="auto-style8" src="Images/Update%20Existing%20Admin%20logo.png" /></td>
        </tr>
        <tr>
            <td class="auto-style6" colspan="10">
                &nbsp;&nbsp;<asp:TextBox ID="tbxSearch" runat="server" BackColor="#3399FF" BorderColor="#66FF33" BorderWidth="3px"></asp:TextBox>
&nbsp;
                <asp:Button ID="btnSearchAdmin" runat="server" OnClick="btnSearchAdmin_Click" Text="Search Admin To Update" BackColor="Black" BorderColor="#FF3300" BorderWidth="3px" ForeColor="#FF3300" CausesValidation="False" />
                &nbsp;<br />
                <br />
                &nbsp;
                <asp:Label ID="lblRetrieveAdminUsername" runat="server" ForeColor="#FFFF66" Text="Admin Username:"></asp:Label>
&nbsp;<asp:Label ID="lblUsername" runat="server" ForeColor="#FF3300"></asp:Label>
                <br />
                <br />
                &nbsp;
                <asp:Label ID="lblUpdateAdminPassword" runat="server" ForeColor="Yellow" Text="Admin Password:"></asp:Label>
&nbsp;<asp:TextBox ID="tbxPassword" runat="server" BackColor="#3399FF" BorderColor="#66FF33" BorderWidth="3px" TextMode="Password" Font-Size="Medium" Width="168px" Height="19px"></asp:TextBox>
                &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbxPassword" ErrorMessage="*Password required!" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <br />
                &nbsp;
                <asp:Label ID="lblUpdateAdminName" runat="server" ForeColor="Yellow" Text="Admin Name:"></asp:Label>
&nbsp;<asp:TextBox ID="tbxName" runat="server" BackColor="#3399FF" BorderColor="#66FF33" BorderWidth="3px"></asp:TextBox>
                &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbxName" ErrorMessage="*Name required!" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <br />
                &nbsp;
                <asp:Label ID="lblUpdateAdminDob" runat="server" ForeColor="Yellow" Text="Admin Date Of Birth:"></asp:Label>
&nbsp;<asp:TextBox ID="tbxDob" runat="server" BackColor="#3399FF" BorderColor="#66FF33" BorderWidth="3px"></asp:TextBox>
                &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbxDob" ErrorMessage="*Date of birth required!" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <br />
                &nbsp;
                <asp:Label ID="lblUpdateAdminBankAccountNumber" runat="server" ForeColor="Yellow" Text="Admin Bank Account Number:"></asp:Label>
&nbsp;<asp:TextBox ID="tbxBankNum" runat="server" BackColor="#3399FF" BorderColor="#66FF33" BorderWidth="3px"></asp:TextBox>
                &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbxBankNum" ErrorMessage="*Bank account number required!" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <br />
                &nbsp;
                <asp:Label ID="lblAdminHomeAddress" runat="server" ForeColor="Yellow" Text="Admin Home Address:"></asp:Label>
&nbsp;<asp:TextBox ID="tbxHomeAdd" runat="server" BackColor="#3399FF" BorderColor="#66FF33" BorderWidth="3px"></asp:TextBox>
                &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="tbxHomeAdd" ErrorMessage="*Home address required!" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <br />
                &nbsp;
                <asp:Label ID="lblAdminTelNo" runat="server" ForeColor="Yellow" Text="Admin Telephone Number:"></asp:Label>
&nbsp;<asp:TextBox ID="tbxTelNum" runat="server" BackColor="#3399FF" BorderColor="#66FF33" BorderWidth="3px" ></asp:TextBox>
                &nbsp;
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="tbxTelNum" ErrorMessage="*Telephone number required!" ForeColor="Red"></asp:RequiredFieldValidator>
                <br />
                <br />
                &nbsp;
                <asp:Label ID="lblAdminRank" runat="server" ForeColor="Yellow" Text="Admin Rank:"></asp:Label>
&nbsp;<asp:Label ID="lblrank" runat="server" ForeColor="#FF3300"></asp:Label>
                <br />
                <br />
                <asp:Label ID="lblstatus" runat="server" ForeColor="#FF3300"></asp:Label>
                <br />
                <br />
                &nbsp;
                <asp:Button ID="btnUpdateAdmin" runat="server" OnClick="btnUpdateAdmin_Click" Text="Update Admin" BackColor="Black" BorderColor="#FF3300" BorderWidth="3px" ForeColor="#FF3300" />
&nbsp;&nbsp;
                <asp:Button ID="btnClear" runat="server" Text="Clear" BackColor="Black" BorderColor="#FF3300" BorderWidth="3px" ForeColor="#FF3300" CausesValidation="False" OnClick="btnClear_Click" />
                &nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnCancel" runat="server" Text="Cancel" BackColor="Black" BorderColor="#FF3300" BorderWidth="3px" ForeColor="#FF3300" CausesValidation="False" OnClick="btnCancel_Click" />
                &nbsp;
                <br />
            </td>
        </tr>
        <tr>
            <td class="auto-style7" colspan="10">&nbsp;</td>
        </tr>
        </table>
    
    </div>
    </form>
</body>
</html>

